package com.github.easyms.server.mapper.auth;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.easyms.common.entity.auth.User;
import com.github.easyms.common.vo.EasymsPage;
import org.apache.ibatis.annotations.Param;

/**
 * @author Leo.Liao
 * 用户表数据接口
 * @date 2020-04-09 17:06:58
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 分页查询
     * @param page
     * @param condition
     * @return
     */
    EasymsPage<User> selectUserPage(@Param("page") EasymsPage page, @Param("condition") User condition);

}
